import proot/load box/{logger,ui}

shift

Load-Proot-Config false "$1"

Get-Ask-Ui "确认移除 $RELEASE_NAME ?" no
case $__return__ in
yes)
  Msg "正移除容器..."
  chmod -R 777 $RELEASE_PATH
  rm -rf $RELEASE_PATH
  Msg "正删除启动脚本..."
  rm $PL_HOME/start/$RELEASE_NAME.sh
  ;;
exit|no)
  Msg "取消"
  exit
esac